package com.spring.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.spring.gowhere.R;

/**
 * 身份认证
 * 
 * @author Administrator
 * 
 */
public class QueryKQInfoActivity extends BaseActivity {
	RelativeLayout airorder, airorder2,airorder3,airorder4;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.querykqinfo);
		airorder = (RelativeLayout) findViewById(R.id.airorder);
		ImageButton imageButton = (ImageButton) findViewById(R.id.title_left_ib);
		imageButton.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				finish();
			}
		});
		TextView textView = (TextView) findViewById(R.id.title_tv);
		textView.setText("考勤记录查询");
		airorder.setOnClickListener(new OnClickListener() { // 1考勤

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(QueryKQInfoActivity.this,
						QueryKQINfo.class);
				intent.putExtra("name", "考勤记录查询");
				startActivity(intent);
			}
		});
		airorder2 = (RelativeLayout) findViewById(R.id.airorder2);
		airorder2.setOnClickListener(new OnClickListener() {//2流水

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(QueryKQInfoActivity.this,
						QueryKQINfo.class);
				intent.putExtra("name", "考勤流水查询");
				startActivity(intent);
			}
		});
		airorder3 = (RelativeLayout) findViewById(R.id.airorder3);
		airorder3.setOnClickListener(new OnClickListener() {//3门禁

					@Override
					public void onClick(View v) {
						// TODO Auto-generated method stub
						Intent intent = new Intent(QueryKQInfoActivity.this,
								QueryMJListActivity.class);
						intent.putExtra("name", "进出门记录查询");
						startActivity(intent);
					}
				});
		airorder4 = (RelativeLayout) findViewById(R.id.airorder4);
		airorder4.setOnClickListener(new OnClickListener() {//通道

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(QueryKQInfoActivity.this,
						TDAKQInfoActivity.class);
				intent.putExtra("name", "通道记录查询");
				startActivity(intent);
			}
		});
	};



}
